import {BaseEntity,Column,Entity,Index,JoinColumn,JoinTable,ManyToMany,ManyToOne,OneToMany,OneToOne,PrimaryColumn,PrimaryGeneratedColumn,RelationId} from "typeorm";


@Entity("QRTZ_FIRED_TRIGGERS",{schema:"nest-mall" } )
@Index("IDX_QRTZ_FT_TRIG_INST_NAME",["schedName","instanceName",])
@Index("IDX_QRTZ_FT_INST_JOB_REQ_RCVRY",["schedName","instanceName","requestsRecovery",])
@Index("IDX_QRTZ_FT_J_G",["schedName","jobName","jobGroup",])
@Index("IDX_QRTZ_FT_JG",["schedName","jobGroup",])
@Index("IDX_QRTZ_FT_T_G",["schedName","triggerName","triggerGroup",])
@Index("IDX_QRTZ_FT_TG",["schedName","triggerGroup",])
export class QrtzFiredTriggers {

    @Column("varchar",{ 
        nullable:false,
        primary:true,
        length:120,
        name:"SCHED_NAME"
        })
    schedName:string;
        

    @Column("varchar",{ 
        nullable:false,
        primary:true,
        length:95,
        name:"ENTRY_ID"
        })
    entryId:string;
        

    @Column("varchar",{ 
        nullable:false,
        length:200,
        name:"TRIGGER_NAME"
        })
    triggerName:string;
        

    @Column("varchar",{ 
        nullable:false,
        length:200,
        name:"TRIGGER_GROUP"
        })
    triggerGroup:string;
        

    @Column("varchar",{ 
        nullable:false,
        length:200,
        name:"INSTANCE_NAME"
        })
    instanceName:string;
        

    @Column("bigint",{ 
        nullable:false,
        name:"FIRED_TIME"
        })
    firedTime:string;
        

    @Column("bigint",{ 
        nullable:false,
        name:"SCHED_TIME"
        })
    schedTime:string;
        

    @Column("int",{ 
        nullable:false,
        name:"PRIORITY"
        })
    priority:number;
        

    @Column("varchar",{ 
        nullable:false,
        length:16,
        name:"STATE"
        })
    state:string;
        

    @Column("varchar",{ 
        nullable:true,
        length:200,
        name:"JOB_NAME"
        })
    jobName:string | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:200,
        name:"JOB_GROUP"
        })
    jobGroup:string | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:1,
        name:"IS_NONCONCURRENT"
        })
    isNonconcurrent:string | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:1,
        name:"REQUESTS_RECOVERY"
        })
    requestsRecovery:string | null;
        
}
